Class sjl.wrappers.FuncReaderShort
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sjl.wrappers.FuncReaderShort

java.lang.Object
   |
   +----sjl.wrappers.FuncReaderShort

public class FuncReaderShort
extends Object
implements Function1
FuncReaderShort is a function object designed for reading objects of type Integer from a DataInputStream. Objects of this class is used by the InputStreamIterator.

Copyright © 1996 Finn Bock


Constructor Index

 o FuncReaderShort()

Method Index

 o perform(Object)
Create a object of type Integer and initialize it with the next Integer read from the argument stream.

Constructors

 o FuncReaderShort
  public FuncReaderShort()

Methods

 o perform
  public Object perform(Object stream)
Create a object of type Integer and initialize it with the next Integer read from the argument stream. The The readShort() method is called to do the reading. The return value is ignored.
Parameters:
stream - The DataInputStream.

All Packages  Class Hierarchy  This Package  Previous  Next  Index